Actually return something from bool0.
authorEwan Mellor <ewan@xensource.com>
Fri, 1 Dec 2006 13:25:33 +0000 (13:25 +0000)
committerEwan Mellor <ewan@xensource.com>
Fri, 1 Dec 2006 13:25:33 +0000 (13:25 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py

index e528170a955b6e76d88fcaea7b6524ba4982c209..dd8c2c3b273f551a146683fe972c9a169a02f4ee 100644 (file)
@@ -59,7 +59,7 @@ log = logging.getLogger("xend.XendDomainInfo")
 
 
 def bool0(v):
-    v != "0" and bool(v)
+    return v != "0" and bool(v)
 
 
 ##